﻿using Adnc.Infra.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WYT.Sys.Repository.Entities
{
    /// <summary>
    /// 心学院老师
    /// </summary>
    [Table("sys_EduTeacher"), Comment("心学院老师")]
    public class EduTeacher : EfEntity
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        [Comment("创建时间")]
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [Comment("名称")]
        public string Name { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        [Comment("图片"),MaxLength(2000)]
        public string Thumbnail { get; set; }

        /// <summary>
        /// 介绍
        /// </summary>
        [Comment("介绍")]
        public string? Introduction { get; set; }
    }
}
